load("//ts:prettier.bzl", "prettier_test")
load("//ts:eslint.bzl", "eslint_test")
load("//ts:esbuild.bzl", "esbuild")
load("//ts:typescript.bzl", "typescript")

typescript(name = "mathjax_ts")

_esbuild_deps = [
    ":mathjax_ts",
]

esbuild(
    name = "mathjax",
    entry_point = "index.ts",
    visibility = ["//visibility:public"],
    deps = _esbuild_deps,
)

# Tests
################

prettier_test()

eslint_test()
